package com.hdaccp;

import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class UserServiceConsumer {
    @Reference(interfaceName="com.hdaccp.UserService")
    private UserService uservice;

    public void showSave(){
        uservice.save();
    }

}
